package java01;

public class For_study2 {

	public static void main(String[] args) {
		for(int i=1; i<26; i++){
			double k=1;
			for(int j=1;j<=i;j++){
				k *= j;
			}System.out.println(i +"!"+ k);
		}

	}

}
